package day240519;

public class Test{
    //1.
    public static void main(String[] args){
        System.out.println("HelloWorld");
        //2.文档注释@
        //3.
        int $2=1;
        //4.
        int i1=1;
        int i2=2;
        int i3=i1++ + ++i2;
        System.out.println(i1);
        System.out.println(i2);
        System.out.println(i3);
        //5.报错
        short s=3;
        //s= s+1;
        //6
        boolean b1=false;
        int num1=1;
        if(b1 | (num1++ ==1)){
            System.out.println("branch-1");
        }else {
            System.out.println("branch-2");
        }
        System.out.println("num1="+num1);
        //7
         boolean x=true;
         boolean y=false;
         short z=40;
         if((z++ ==40) &&(y=true)){
             z++;
         }
         if((x = false)||(++z ==43)){
             z++;
         }
        System.out.println("z="+z);

    }
}